package com.dzbiao.entity;

public class Order {


    private Integer id ;

    private String orderNo ;

    private double totalPrice ;

    private String userInfo ;

    private String productInfo ;

    public Order(Integer id, String orderNo, double totalPrice, String userInfo, String productInfo) {
        this.id = id;
        this.orderNo = orderNo;
        this.totalPrice = totalPrice;
        this.userInfo = userInfo;
        this.productInfo = productInfo;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", totalPrice=" + totalPrice +
                ", userInfo='" + userInfo + '\'' +
                ", productInfo='" + productInfo + '\'' +
                '}';
    }
}
